package com.lingyi.yygh.hosp.mapper;

import com.lingyi.yygh.model.hosp.Hospital;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface HospitalRepository extends MongoRepository<Hospital,String> {
    Hospital getHospitalByHoscode(@Param("hoscode") String hoscode);
}
